Skip to content

UFAL/Use gh cli dispatch for rest tests#1252

Merged
Kasinhou merged 7 commits intodtq-devfrom
deploy-workflow-update
Mar 18, 2026
Merged

UFAL/Use gh cli dispatch for rest tests#1252
Kasinhou merged 7 commits intodtq-devfrom
deploy-workflow-update

Conversation

@Kasinhou
Copy link

@Kasinhou Kasinhou commented Mar 17, 2026

Problem description

We updated rest tests in order to run tests according to specific customers and we have to change the way how it is called from deploy workflow.
Related issues:
https://github.com/dataquest-dev/dspace-customers/issues/467
https://github.com/dataquest-dev/dspace-customers/issues/468

Sync verification

If en.json5 or cs.json5 translation files were updated:

  • Run yarn run sync-i18n -t src/assets/i18n/cs.json5 -i to synchronize messages, and changes are included in this PR.

Manual Testing (if applicable)

Copilot review

  • Requested review from Copilot

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the deploy workflow to trigger and monitor REST test runs via GitHub CLI workflow dispatch, enabling REST tests to be executed with customer-specific inputs after deploy/import flows.

Changes:

  • Replaces curl-based workflow dispatch + manual polling with gh workflow run + gh run watch.
  • Passes CUSTOMER and URL inputs to the dataquest-dev/dspace-rest-test workflow dispatch.
  • Skips rest-tests-after-deploy8 when IMPORT is enabled (aligning execution with the deploy path).

@Kasinhou Kasinhou self-assigned this Mar 17, 2026
@Kasinhou Kasinhou requested a review from vidiecan March 17, 2026 14:59
@Kasinhou Kasinhou requested a review from vidiecan March 17, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants